<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<script type="text/javascript" src="../Fantacalcio/js/liveclock.js"></script>
<body  onload="startclock();">
<div class="nav">
	<span class="menuButton"><a class="home" href="BackHomeAction.do">Home</a></span>
	<!-- altre gestioni -->
	<span class="menuButton"><a class="calendario" href="PrepareCalendarioAction.do">Calendario</a></span>
	<span class="menuButton"><a class="classifica" href="PrepareClassificaAction.do">Classifica</a></span>
	<span class="menuButton"><a class="squadra" href="PrepareListSquadraAction.do">Squadre</a></span>
	<span class="menuButton"><a class="giocatore" href="PrepareListGiocatoreAction.do">Giocatori</a></span>
	<c:if test="${userInSession.role.codRole == 'ADMIN' }">
		<span class="menuButton"><a class="giornata" href="PrepareListPartitaAction.do">Gestione Giornate</a></span>
		<span class="menuButton"><a class="punteggio" href="#">Calcola punteggio</a></span>
		<span class="menuButton"><a class="role" href="PrepareListRoleAction.do">Ruoli</a></span>
		<span class="menuButton"><a class="user" href="PrepareListUserAction.do">User</a></span>
	</c:if>
	<span class="menuButton"><a class="logout" href="Logout.do">Logout</a></span>
	<span class="menuButton"><label class="user">${squadraInSession.nome } - ${userInSession.cognome } ${userInSession.nome } </label></span>
</div>
<span id="LiveClockIE"></span>
</body>